﻿<%@ Page Theme="" %>
<script language="C#" runat="server">
    void Page_Load()
    {
        Response.ContentType = "text/css";
        string size = Profile.FontSize == 1 ? "10.5px" : Profile.FontSize == 3 ? "small" : Profile.FontSize == 7 ? "x-large" : string.Empty, famlily = Profile.FontFamily;
        //r = "html,button,input,textarea,select{font: italic small Candara, Microsoft YaHei}";
        if (size != string.Empty || famlily != string.Empty)
        {
            string font = famlily != string.Empty ? size != string.Empty ? "font:" + size + " " + famlily : "font-family:" + famlily : "font-size:" + size;
            Response.Write(string.Format("html,button,input,textarea,select{{{0}}}", font));
        }
    }
</script>
